home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
math
/
alged34.zip
/
ALGEDSRC.ZIP
/
ALGVARS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-06
|
2KB
|
54 lines
/*-----------------------------------------------------------------
GLOBAL VARIABLES
Notes: The files algmain.h and this one are almost the same but one
has the initializers. There are lots of globals, and yes I did go
to college and yes they did teach me that global variables are poor
programming practice, but this program started out as a little hack, and
now it is a very big hack, and in that way is very much like this
sentence! I might add that some of the most lucrative software in
the industry are hacks and have lots of global variables. They didn't
tell me that in college ;-)
*/
extern node *firf,*curf;
extern node *src,*tgt;
extern char lang[10]; /* language */
extern int sigdig; /* doubles have at most 16 sig dig. */
extern double maxrat;
extern int bold1,bold2,norm,mcolor;
extern int panx,pany,yadj;
extern int postfix;
extern long heapsz; // size of heap in bytes
extern int maxpow;
extern int numsee; /* number of formulas currently visible */
extern int point; /* europe or usa(1) decimals */
extern int ch8; /* allow 8-bit characters (graphical) */
extern struct text_info ti; /* text mode information */
extern int pr[20];
extern uchar kname[20][3];
extern uchar piname[10];
extern uchar ename[10];
extern uchar iname[10];
extern uchar errname[10];
extern uchar infname[10];
extern uchar halfname[10];
extern uchar qtrname[10];
extern uchar hline;
extern uchar vline;
extern uchar urc;
extern uchar llc;
extern uchar lrc;
extern uchar ulc;
extern uchar comma;
extern int mwidth; /* max menu item width */
extern int mheight; /* see show_menu for calc */
extern int numm;
extern struct {
char name[30];
int x,y,hot,fid;
} menu[maxm+10];
extern char top[80],bottom[80],endlist[80],keyname[80];
extern char *msg[MAXM]; /* store translatable text */